package xin.shaozeming.base;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import xin.shaozeming.base.service.UserService;

import javax.annotation.Resource;

@RunWith(SpringRunner.class)
@SpringBootTest
public class test {
   @Resource
   private UserService userService;

   @Test
    public void test(){
        userService.list();
    }
}
